<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="text" v-model="username" >

    <script src="./vue.js"></script>

    <script>
        // v-model 给表单元素使用，双向数据绑定，可以快速获取或设置表单元素内容
        const app = new Vue({
            el: 'input',
            data: {
                username: 'xiaoming'
            },
        })
    </script>
    
</body>
</html>